.Net Framework > v2.0.50727 > System > Runtime > InteropServices > Marshal > PtrToStringAnsi PtrToStringAnsi(IntPtr)
PtrToStringAnsi(IntPtr,Int32)


PtrToStringAnsi(IntPtr)

Category
Method
Description
Copies all characters up to the first null from an unmanaged ANSI string to a managed System.String. Widens each ANSI character to Unicode.
Type
String
Character
public, static
Parameters
NameTypeDescription
ptrIntPtr
Tags
01892ABD01, 02E3ABA98D, 0376596F91

PtrToStringAnsi(IntPtr,Int32)

Category
Method
Description
Allocates a managed System.String, copies a specified number of characters from an unmanaged ANSI string into it, and widens each ANSI character to Unicode.
Type
String
Character
public, static
Parameters
NameTypeDescription
ptrIntPtr
lenInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database